import request from '@/utils/request'
export function getDocumentDirectoryTree(data) {
  return request({
    url: '/api/commonManage/common/uploadMultipleFile',
    method: 'post',
    data
  })
}
export function getAreaList(params) {
  return request({
    url: '/api/commonManage/common/getAreaList',
    method: 'post',
    params
  })
}

export function getTransferContractChecklistList(params) {
  return request({
    url: '/api/contractManage/transferContractInfo/getTransferContractChecklistList',
    method: 'post',
    params
  })
}

export function uploadSingleFile(data) {
  return request({
    url: '/api/commonManage/common/uploadSingleFile',
    method: 'post',
    data,
    headers: { 'content-type': 'multipart/form-data' }
  })
}
export function getWorkflowBindMenuTree() {
  return request({
    url: '/api/commonManage/common/getWorkflowBindMenuTree',
    method: 'post'
  })
}
